//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.carhailing.common.requst;

public class DriverUserReq {
    private String driverPhone;
    private String code;
    private String driverPwd;

    public DriverUserReq() {
    }

    public String getDriverPhone() {
        return this.driverPhone;
    }

    public String getCode() {
        return this.code;
    }

    public String getDriverPwd() {
        return this.driverPwd;
    }

    public void setDriverPhone(final String driverPhone) {
        this.driverPhone = driverPhone;
    }

    public void setCode(final String code) {
        this.code = code;
    }

    public void setDriverPwd(final String driverPwd) {
        this.driverPwd = driverPwd;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof DriverUserReq)) {
            return false;
        } else {
            DriverUserReq other = (DriverUserReq)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label47: {
                    Object this$driverPhone = this.getDriverPhone();
                    Object other$driverPhone = other.getDriverPhone();
                    if (this$driverPhone == null) {
                        if (other$driverPhone == null) {
                            break label47;
                        }
                    } else if (this$driverPhone.equals(other$driverPhone)) {
                        break label47;
                    }

                    return false;
                }

                Object this$code = this.getCode();
                Object other$code = other.getCode();
                if (this$code == null) {
                    if (other$code != null) {
                        return false;
                    }
                } else if (!this$code.equals(other$code)) {
                    return false;
                }

                Object this$driverPwd = this.getDriverPwd();
                Object other$driverPwd = other.getDriverPwd();
                if (this$driverPwd == null) {
                    if (other$driverPwd != null) {
                        return false;
                    }
                } else if (!this$driverPwd.equals(other$driverPwd)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof DriverUserReq;
    }

    public int hashCode() {
        int result = 1;
        Object $driverPhone = this.getDriverPhone();
        result = result * 59 + ($driverPhone == null ? 43 : $driverPhone.hashCode());
        Object $code = this.getCode();
        result = result * 59 + ($code == null ? 43 : $code.hashCode());
        Object $driverPwd = this.getDriverPwd();
        result = result * 59 + ($driverPwd == null ? 43 : $driverPwd.hashCode());
        return result;
    }

    public String toString() {
        return "DriverUserReq(driverPhone=" + this.getDriverPhone() + ", code=" + this.getCode() + ", driverPwd=" + this.getDriverPwd() + ")";
    }
}
